package com.efast.cafe.portal.remote.common;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.cafe.framework.feign.constant.FeignConstant;
import com.efast.cafe.portal.entity.base.PortalBaseLov;
import com.efast.cafe.portal.entity.base.PortalBaseParameter;


/******************************************************************************
 * @File name   :      LovService.java
 *
 * @Author      :      xl
 *
 * @Date        :      2016-8-16
 *
 * @Copyright Notice: 
 * Copyright (c) 2016 Efast Serv. All  Rights Reserved.
 * This software is published under the terms of the Efast Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2016-8-16 下午3:45:27        xl     1.0            Initial Version
 *****************************************************************************/
@FeignClient(name = "cafe.portal-service",path="cafe.portal-service")
public interface LovService {

	/**
	 *  
	    * @Title: api_getNextNodeLov
	    * @Description: 根据参数对象获取lov
	    * @param @param id 请先调用ParameterService的api_getParameter方法获取参数对象 然后将参数传入
	    * @param @return    参数
	    * @return List<PortalBaseLov>    返回类型
	    * @throws
	 */
	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV_AUTH+"/portal/common/api_getNextNodeLov",method=RequestMethod.POST)
	public @ResponseBody List<PortalBaseLov> api_getNextNodeLov(@RequestBody PortalBaseParameter parameter);

}
